package com.sh.data.engine.application.model.dto.datadev;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author: zigui.zdf
 * @description:
 * @date: 2021/6/3 10:53
 */
@Data
@Schema
public class FlinkNodeResponse {

    @Schema(description = "主键id")
    private Long id;

    @Schema(description = "名称")
    private String name;

    @Schema(description = "父id")
    private Long pid;

//  @Schema(description = "是否是目录 0-否 1-是")
//  private Integer isDir;

    @Schema(description = "节点类型 0-目录 1-sql任务 2-sql任务向导模式 3-jar任务 4-函数 5-资源")
    private Integer nodeType;

    @Schema(description = "是否被锁住 0-未锁 1-锁住")
    private Integer isLocked;

    @Schema(description = "描述")
    private String remark;

    @Schema(description = "节点图标")
    private String icon;
}
